Create Channel Fragment
Fragment displaying the user list to create the channel.
Types
Functions
Link copied to clipboard
protected open fun createGroupChannel(@NonNull params: GroupChannelCreateParams)
Content copied to clipboard
Creates
GroupChannel
with GroupChannelParams.Link copied to clipboard
Returns the lists of user ids that you want to disable.
Link copied to clipboard
protected open fun onBeforeCreateGroupChannel(@NonNull params: GroupChannelCreateParams)
Content copied to clipboard
It will be called before creating group channel.
Link copied to clipboard
protected open fun onBeforeReady( @NonNull status: ReadyStatus, @NonNull module: CreateChannelModule, @NonNull viewModel: CreateChannelViewModel)
Content copied to clipboard
After authenticate ()} is finished, onReady will be called with the result of authentication and all preparations will be ready to use.
Link copied to clipboard
protected open fun onBindHeaderComponent(@NonNull headerComponent: SelectUserHeaderComponent, @NonNull viewModel: CreateChannelViewModel)
Content copied to clipboard
Called to bind events to the SelectUserHeaderComponent.
Link copied to clipboard
protected open fun onBindStatusComponent(@NonNull statusComponent: StatusComponent, @NonNull viewModel: CreateChannelViewModel)
Content copied to clipboard
Called to bind events to the StatusComponent.
Link copied to clipboard
protected open fun onBindUserListComponent(@NonNull listComponent: CreateChannelUserListComponent, @NonNull viewModel: CreateChannelViewModel)
Content copied to clipboard
Called to bind events to the CreateChannelUserListComponent.
Link copied to clipboard
protected open fun onConfigureParams(@NonNull module: CreateChannelModule, @NonNull args: Bundle)
Content copied to clipboard
Called to initialize the module's params or components' params.
Link copied to clipboard
protected open fun onCreateModule(@NonNull args: Bundle): CreateChannelModule
Content copied to clipboard
Called to do initial creation of a module.
Link copied to clipboard
Called to do initial creation of a view model.
Link copied to clipboard
It will be called when the new channel has been created.
Link copied to clipboard
protected open fun onReady( @NonNull status: ReadyStatus, @NonNull module: CreateChannelModule, @NonNull viewModel: CreateChannelViewModel)
Content copied to clipboard
Called to start the operation of the fragment after authentication and module setup.
Link copied to clipboard
protected open fun onUserSelectionCompleted(@NonNull selectedUsers: List<String>)
Content copied to clipboard
Called when the user selection completed.
Link copied to clipboard
open fun onViewCreated(@NonNull view: View, @Nullable savedInstanceState: Bundle)
Content copied to clipboard